package top.aicats.blog.BlogManage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import top.aicats.blog.BlogManage.model.Users;

import java.util.List;

/**
 * @author sjc
 * @version 1.0
 * @date 2020/1/5 15:08
 * @email 952491025@qq.com
 */
@Mapper
public interface UserMapper {

    int insert(Users user);

    List<Users> selectAllUsers();

    Users selectUserByUsername(Users user);
}
